package com.myspring;

/**
 * Bean 定义类
 */
public class BeanDefinition {
    /**
     * Bean 的类型
     */
    private Class clazz;
    /**
     * Bean 的作用域
     */
    private String Scope;

    public BeanDefinition() {
    }

    public BeanDefinition(Class clazz, String scope) {
        this.clazz = clazz;
        Scope = scope;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public String getScope() {
        return Scope;
    }

    public void setScope(String scope) {
        Scope = scope;
    }
}
